﻿Imports PadovadoAPI
Imports System.Data

Partial Class AdminMenu
    Inherits System.Web.UI.Page

    
    Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
        If String.IsNullOrEmpty(Session("UserInSession")) Then
            Response.Redirect("Admin.aspx")
        End If
    End Sub

    Protected Sub LinkButton1_Click(sender As Object, e As System.EventArgs) Handles LinkButton1.Click
        Session("UserInSession") = Nothing
        Response.Redirect("Default.aspx")
    End Sub
End Class